#include "StdAfx.h"
#include "CMaterial.h"

CMaterial::CMaterial(void)
{
}

CMaterial::~CMaterial(void)
{
}

void CMaterial::setNombre(char *pNombre)
{
	strcpy(nombre, pNombre);
}

void CMaterial::setKd(float *pKd)
{
	kd[0] = pKd[0];
	kd[1] = pKd[1];
	kd[2] = pKd[2];
}

void CMaterial::setKa(float *pKa)
{
	ka[0] = pKa[0];
	ka[1] = pKa[1];
	ka[2] = pKa[2];
}

void CMaterial::setKs(float *pKs)
{
	ks[0] = pKs[0];
	ks[1] = pKs[1];
	ks[2] = pKs[2];
}

void CMaterial::setMap_kd(char *pMap_kd)
{
	strcpy(map_kd, pMap_kd);
}
void CMaterial::setSoil_kd(int pSoil_kd)
{
	soil_kd = pSoil_kd;
}


char* CMaterial::getNombre()
{
	return nombre;
}

float* CMaterial::getKd()
{
	return kd;
}

float* CMaterial::getKa()
{
	return ka;
}

float* CMaterial::getKs()
{
	return ks;
}

char* CMaterial::getMap_kd()
{
	return map_kd;
}

int CMaterial::getSoil_kd()
{
	return soil_kd;
}